<?php
namespace Admin\Controller;
use Think\Controller;
class AdminController extends Controller {

	public function _initialize(){
		$admin= session('admin.userInfo');
		if(empty($admin)){
			$this->redirect('Login/login');
			exit;
		}
	}

    /**
    */
   	public function _empty(){
		$this->error('404');
//   		display('404');
   	}
}